<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../css/metinfo.css" />

<link rel="stylesheet"
	href="../kindeditor-4.1.10/themes/default/default.css" />
<link rel="stylesheet"
	href="../kindeditor-4.1.10/plugins/code/prettify.css" />
<script charset="utf-8" src="../kindeditor-4.1.10/kindeditor.js"></script>
<script charset="utf-8" src="../kindeditor-4.1.10/lang/zh_CN.js"></script>
<script charset="utf-8"
	src="../kindeditor-4.1.10/plugins/code/prettify.js"></script>
<script>
		KindEditor.ready(function(K) {
			var editor1 = K.create('textarea[name="editor01"]', {
				cssPath : '../kindeditor-4.1.10/plugins/code/prettify.css',
				uploadJson : '../kindeditor-4.1.10/php/upload_json.php',
				fileManagerJson : '../kindeditor-4.1.10/php/file_manager_json.php',
				allowFileManager : true,
				afterCreate : function() {
					var self = this;
					K.ctrl(document, 13, function() {
						self.sync();
						K('form[name=example]')[0].submit();
					});
					K.ctrl(self.edit.doc, 13, function() {
						self.sync();
						K('form[name=example]')[0].submit();
					});
				}
			});
			prettyPrint();
		});
	</script>



</head>

<body>

<div class="metinfotop">

</div>
<div class="clear"></div>


<div class="stat_list">
<ul>
	<li class="now"><a href="1.html" title="基本信息">基本信息</a></li>
	<!--<li ><a href="1.html" title="系统邮箱配置">系统邮箱配置</a></li>-->
</ul>
</div>
<form method="post" name="myform" action="newsAddAction.php" target="_self">
<!--<input name="action" type="hidden" value="modify" />-->
<table cellpadding="2" cellspacing="1" class="table">
	<tr>
		<td style="font-size: 18px; color: #1f75b7;">&nbsp&nbsp&nbsp&nbsp添加新闻:</td>
	</tr>
	<tr>
		<td class="text" colspan="4"><?php
		if(!empty($_GET['error'])){
			echo '<div style="color:red;font-size:15px;margin-left:10px;">'.$_GET['error'].'</div>';
		}
			
		?></td>
	</tr>
	<tr>
		<td>
		<div style="margin-left: 30px; font-size: 15px;">新闻标题：</div>
		</td>
		<td class="input"><input name="title" type="text" class="text" /></td>

	</tr>

	<tr>
		<td>
		<div style="margin-left: 30px; font-size: 15px;">新闻类型：</div>
		</td>
		<td><input type="radio" name="type" value="旅游资讯"
			style="width: 75px; height: 15px;" checked="checked"> 旅游资讯 <input
			type="radio" name="type" value="常见问题"
			style="width: 75px; height: 15px;"> 常见问题 <input type="radio"
			name="type" value="合同签订问题" style="width: 75px; height: 15px;"> 合同签订问题
		<input type="radio" name="type" value="付款与发票"
			style="width: 75px; height: 15px;"> 付款与发票 <input type="radio"
			name="type" value="其他相关问题" style="width: 75px; height: 15px;"> 其他相关问题



		</td>
	</tr>
	<tr> 
		<td><div style="margin-left:30px;font-size:15px;">新闻内容：</div></td>
        <td colspan="2" class="text">
			<textarea rows="30" cols="50" name="editor01">请输入.</textarea>
          <script type="text/javascript">CKEDITOR.replace('editor01');</script>
			<span class="tips">100字以内</span>		</td>
    </tr> 
	<tr>
		<td class="text"></td>
		<td><input type="submit" name="submit1" value="保存" class="submit" /></td>
	</tr>
</table>
</form>

</body>
</html>
